package com.net.common.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author hjh
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class NetRuntimeException extends RuntimeException {

    private String message;

    public NetRuntimeException() {

    }

    public NetRuntimeException(String message) {
        super(message);
        this.message = message;
    }

    public NetRuntimeException(String message, Throwable throwable) {
        super(message, throwable);
        this.message = message;
    }
}
